package elevatorsimulator;

/**
 * Creates the Floor Object
 */
public class Floor {
    boolean topFloor;
    int floorNum;

    /**
     * Floor Constructor
     */
    public Floor() {
    }

    /**
     * Returns the number of floors
     */
    public int getFloorNum() {
        return floorNum;
    }

    /**
     * Sets the number of Floors
     */
    public void setFloorNum(int floorNum) {
        this.floorNum = floorNum;
    }

    /**
     * Returns whether a specific floor is the top floor
     */
    public boolean getTopFloor() {
        return topFloor;
    }

    /**
     * Sets a floor as top floor or not
     */
    public void setTopFloor(boolean topFloor) {
        this.topFloor = topFloor;
    }


}
